import wordcloud as wc
c = wc.WordCloud()
c.generate("wordcloud by python")
c.to_file("wordcloud.png")
